﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.IotInfo;
using LJX.SmartPark.Service.IotInfo.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.IotInfo
{
    public interface IOledScreenService : ITransientService 
    {
        Task<Response<List<OledScreen>>> GetOledScreenAsync(formInline form);

        Response<OledScreen> GetOledScreenById(OledScreen input);
        Task<Response<bool>> PostAddOledScreen(OledScreen input);
        Task<Response<bool>> DeleteByIdAsync(OledScreen input);
        Task<Response<bool>> PutUpdateOledScreen(OledScreen input);
        Task<Response<bool>> PutUpdateOledScreenTrue(OledScreen input);
        Task<Response<bool>> PutUpdateOledScreenFalse(OledScreen input);
    }
    public class formInline
    {
        public int pageIndex { get; set; }

        public int pageSize { get; set; }

        public int connectionStatus { get; set; }

        public string equipMentNum { get; set; }
    }
}
